Resource URL: /platform/<<version=3>>/antivirus/quarantine/<PATH+>

    Overview: This resource represents the quarantine status of individual
              files in your /ifs directory tree.  <PATH> should always be
              specified starting with '/ifs'.

     Methods: GET, PUT

********************************************************************************

Method GET: Retrieve the quarantine status of the file at the specified path.

       URL: GET /platform/<<version=3>>/antivirus/quarantine/<PATH+>

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "The quarantine status of a file in /ifs.", 
      "properties": {
        "scan_result": {
          "minLength": 0, 
          "required": true, 
          "type": "string", 
          "description": "The result of the last scan on this file.  This string is usually one of: never_scanned, clean, quarantined, repaired, truncated, infected_no_action_taken, skipped_per_settings.  However, a longer string starting with 'unknown_status' and describing the details can also appear in uncommon edge cases.", 
          "maxLength": 255
        }, 
        "last_scan": {
          "required": true, 
          "type": [
            {
              "minimum": 0, 
              "type": "integer", 
              "maximum": 4294967295
            }, 
            {
              "type": "null"
            }
          ], 
          "description": "The date and time this file was last scanned for viruses, as a UNIX timestamp.  If null, the file has never been scanned."
        }, 
        "quarantined": {
          "required": true, 
          "type": "boolean", 
          "description": "If true, this file is quarantined.  If false, the file is not quarantined."
        }, 
        "last_istag": {
          "required": true, 
          "type": [
            {
              "minLength": 0, 
              "type": "string", 
              "maxLength": 255
            }, 
            {
              "type": "null"
            }
          ], 
          "description": "The ICAP Service Tag (ISTag) recorded for this file during the last scan, or null if no tag was recorded.  For more information about ISTags, see https://tools.ietf.org/html/rfc3507."
        }, 
        "file": {
          "minLength": 0, 
          "required": true, 
          "type": "string", 
          "description": "Path of this file, starting with /ifs.", 
          "maxLength": 255
        }, 
        "scan_status": {
          "enum": [
            "current", 
            "not_current"
          ], 
          "type": "string", 
          "description": "The scanning status of this file.  If 'current', the file was scanned with the most up-to-date virus definitions.  If 'not_current', it has either not been scanned, been modified since the last scan, or the virus definitions are not current.", 
          "required": true
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Set the quarantine status of the file at the specified path.  Use
            either an empty object {} in the request body or
            {"quarantined":true} to quarantine the file, and
            {"quarantined":false} to unquarantine the file.

       URL: PUT /platform/<<version=3>>/antivirus/quarantine/<PATH+>

There are no query arguments for this method.

PUT request body schema:
{
  "additionalProperties": false, 
  "type": "object", 
  "description": "The quarantine status of a file in /ifs.", 
  "properties": {
    "quarantined": {
      "type": "boolean", 
      "description": "If true, this file is quarantined.  If false, the file is not quarantined."
    }
  }
}

There is no JSON response body for this method.
